<template>
  <swiper class="topswimg">
    <swiper-item v-for="item in topImages" :key="item">
      <img :src="item" alt="">
    </swiper-item>
  </swiper>
</template>

<script>
import {Swiper, SwiperItem} from "@/components/common/swiper"

export default {
  name: "DetailSwiper",
  components: { 
    Swiper,
    SwiperItem 
  },
  props: {
    topImages: {
      type: Array,
      dafault() {
        return []
      }
    },
  },

}
</script>

<style>
  .topswimg {
    height: 300px;
  }
</style>